package cn.cjp.day02;

public class Packaging {

    public static void main(String[] args) {
        Phone one = new Phone();

        /*//直接访问
        加了private则不行
    one.prince = -2;      */

        //间接访问
        one.setPrince(-12);
        System.out.println(one.prince);
    }
}
